{% extends 'base.html' %}

{% block content %}
<title>
    注册 - 畅聊
</title>

<form action="{% url 'users:register' %}" method="post">
    {% csrf_token %}
    {{form}}
    <button name="submit">注册</button>
    <input name="next" type="hidden" value="{% url 'chat:index' %}"/>
</form>
{% endblock content %}
